package WebServiceModel;

import java.awt.*;

public class GamingStateModel {

	private String DeskID;
	private String State;
	private Point Pos;
        private int Time;
	private static GamingStateModel state=new GamingStateModel();
	
	public static GamingStateModel getInstance(){
		
		return state;
	}
	
	public GamingStateModel(){
		
		DeskID="";
		State="";
                Time=0;
		Pos=new Point();		
	}
	
	public void setDeskID(String id){
		
		DeskID=id;
		
	}
	
	public void setState(String state){
		
		State=state;
	}
	
	public void setPos(int x,int y){
		
		Pos.x=x;
		Pos.y=y;
		
	}
        
        public void setTime(int time){
        
            Time=time;
        }
	
	public String getDeskID(){
		
		return DeskID;
	}
	
	public String getState(){
		
		return State;
	}
	
	public Point getPos(){
		
		return Pos;
	}
        
        public int getTime(){
        
            return Time;
        }
	
}
